<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>公告修改</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="__PUBLIC__/layuiadmin/layui/css/layui.css" media="all">
    <link id="layuicss-layer" rel="stylesheet" href="__PUBLIC__/layuiadmin/layui/css/modules/layer/default/layer.css?v=3.1.1" media="all"></head>
<body layadmin-themealias="default">

<div class="layui-form" lay-filter="layuiadmin-form-admin" id="form_role" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">公告标题</label>
        <div class="layui-input-inline">
            <input type="text" name="title" lay-verify="required" style="width: 460px;" value="{$lists['title']}" value="111" autocomplete="off" class="layui-input">
            <input type="hidden" name="id" value="{$lists['id']}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-inline">
            <input type="number" name="sort" lay-verify="required" style="width: 460px;" value="{$lists['sort']}" placeholder="数字越小越靠前"  autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">公告内容</label>
        <div class="layui-input-inline">
            <textarea name="content" lay-verify="required" style="width: 460px;height: 300px;" class="layui-textarea">{$lists['content']}</textarea>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="submit" lay-submit="" class="layui-btn" lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" value="确认">
    </div>
</div>

<script src="__PUBLIC__/layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '__PUBLIC__/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form'], function(){
        var $ = layui.$
            ,form = layui.form ;
    })
</script>
</body>
</html>